{"version":3,"sources":["file_dialog_engine.js"],"names":["BXDialogTree","prototype","Init","this","arIconList","folder","folderopen","plus","minus","dot","arDirConts","DisplayTree","oCont","BX","BXFDCleanNode","arItems","arFDDirs","oTbl","jsUtils","CreateElement","className","len","length","i","DisplayElement","insertRow","insertCell","appendChild","oPlusOnClick","el","OpenTreeSection","parentNode","getAttribute","oElementOnClick","oBXFileDialog","SetFocus","SelectElement","path","bOpen","bLoadCont","curSelectedItem","firstChild","arSpans","getElementsByTagName","oTitle","UnHighlightElement","HighlightElement","oBXDialogControls","dirPath","Set","oBXDialogWindow","LoadFolderContent","El","id","oItem","innerHTML","empty","name","LoadTree","dublReq","q","JCHttpRequest","Action","result","oWaitWindow","Hide","new_sess","CheckReqLostSessid","alert","FD_MESS","FD_SESS_EXPIRED","sessid","oBXDialogTree","iter","loading_int","setInterval","window","action_warning","clearInterval","lastCorrectPath","SetPath","load_items_correct","FD_ERROR","arFDFiles","bRedisplayTree","DisplaySubTree","reloadWindowPath","Show","curLoadingPath","Send","GetRequestUrl","getSite","urlencode","oConfig","operation","focusOnSelectedElment","startTop","scrollTop","tmpFocusInp","size","insertBefore","setTimeout","inp","focus","endTop","removeChild","arTables","paramsCont","rows","bOpened","arImages","oPlus","oIcon","src","indexOf","setAttribute","subTreeTable","style","display","HighlightPath","replace","arPath","split","basePath","dir","l","e","bHightlight","util","trim","DisplayFolderContent","arSubTreeItems","bRefresh","arTbls","contTable","marginLeft","oCell","Append","substr","maxIter","apint","OnKeyDown","selectPath","lind","parPath","parItems","curInd","keyCode","SectionIsOpened","lastIndexOf","upperItem","subLen","lowerItem","lind2","parPath2","parItems2","l2","i2","curInd2","TimeoutSelectElement","PreventDefault","selectTimeout","clearTimeout","BXDialogWindow","pWnd","view","UserConfig","sort","sort_order","filter","Filter","curentFilter","arFiles","ViewSelector","SortSelector","__title","cancelRename_innerHTML","FD_SAVE_TAB_TITLE","select","FD_OPEN_DIR","FD_OPEN_TAB_TITLE","title","FD_CLOSE","iconsPath","arIcons","css","small","big","type","FD_FILE","csv","file","flash","FD_FOLDER","gif","FD_IMAGE","htaccess","html","jpg","jpeg","js","php","png","txt","xml","oCM","BXFDContextMenu","oSorter","BXFDSorter","hard_refresh","bForTimeout","oPerm","arFDPermission","showUploadTab","oBXDialogTabs","DisableTab","upload","DisplayElementsList","Preview","Clear","filePath","showAddToMenuTab","oBXMenuHandling","ChangeMenuType","arDirs","_this","len1","len2","arElements","arFilter","arFilters","oDir","oFile","lenS","ext","icon","j","add","push","permission","date","timestamp","bSelectFiles","toLowerCase","tmb","tmb_src","oNameInput","Sort","arElIndex","NewDirButtonChange","DisplayElList_list","addSubCont","oTable","oRow","curW","parseInt","width","offsetWidth","isNaN","w","oSC","oSubContTable","height","oSSContTable","oSubCont","AddElementToList","Last_ElList_len","DisplayElList_detail","document","createElement","fill_innerHTML","nameCell","FD_SORT_NAME","sizeCell","FD_SORT_SIZE","typeCell","FD_SORT_TYPE","dateCell","FD_SORT_DATE","iconCell","arr_img","__onclick","__name","new_sort_order","onclick","DisplayElList_preview","oEl","ind","_size","getFileSize","_title","IsIE","oIconCell","pEl","oTitleCell","unselectable","checkNameLength","oNameCell","oSizeCell","oTypeCell","oDateCell","_type","_date","cursor","textAlign","paddingRight","elTable","oPreviewCell","oDetailsCell","genThumb","align","valign","AddElementsEventHandlers","_winCont","bSelectDirs","getFileName","ondblclick","SubmitFileDialog","oncontextmenu","OnContextMenu","bAddEllipsis","oDiv","position","body","name_base","name_end","cont","he","oldIcon","oldTitle","cells","Display","ElIcon","ElTitle","AddNewElement","AddNewElement_list","AddNewElement_detail","AddNewElement_preview","addElement_list","oR","value","DefaultDirName","__bx_mode","SelectInput","addEvent","OnElementKeyPress","OnElementBlur","childNodes","addElement_detail","addElement_preview","elDiv","RenameElement","ElementCont","ElCont","nodeName","toUpperCase","__bx_old_name","event","esc","enter","oElement","removeEvent","mode","NewDir","old_name","CancelRename","Rename","Get","nd","action_status","tmpPath","mess","ClientSideCheck","RequestUrl","Remove","bFolder","rf","li","p","pl","openPath","li2","rn","checkFiles","checkDirs","FD_EMPTY_NAME","new_name","FD_INCORRECT_NAME","FD_NEWFILE_EXISTS","FD_NEWFOLDER_EXISTS","del","ren","pageX","pageY","realX","realY","clientX","clientY","scrollLeft","FD_RENAME","FD_RENAME_TITLE","handler","FD_DELETE","FD_DELETE_TITLE","confirm","FD_CONFIRM_DEL_DIR","FD_CONFIRM_DEL_FILE","left","top","menu","PopupHide","newInd","GetCurIndex","newEl","BXDialogTabs","arTabs","tabsCount","activeTabName","AddTab","fFunc","bActive","func","active","disable","DisplayTabs","createBlankImage","_style","createTitleArea","hint","bDisable","SetActive","count","oTab","class1","class2","class3","oCell_1","oCell_2","_ReplaceNbspBySpace","oCell_3","lastCell","tabName","br","BXDialogControls","__DirPathBar","__FilePathBar","__Preview","__ViewSelector","__SortSelector","Uploader","__Uploader","__FileFilter","History","__History","currentSite","BXSite","fd_view_list","BuildItems","fd_view_list_frame","fd_site_list","fd_site_list_frame","SubmButton","FD_BUT_OPEN","FD_BUT_SAVE","SubmButton2","PageTitle1","PageTitle2","onchange","PageTitle","defTitleInp","GoButton","UpButton","sPath","RootButton","NewDirButton","NewDirButtonActive","new_folder","RefreshOnclick","SiteSelectorOnChange","site","bx_fd_site_selector","SetItemIcon","SiteSelectorOnClick","node","pos","GetRealPos","PopupShow","a","b","common_sort","order","_a","_b","res","arr","oInput","butBack","butForward","newPath","Back","Forward","sValue","bSaveConfig","OnChange","bEmp","_get","Push","defFilenameInp","defaultName","exts","fileFilter","addInfoCont","visibility","BXFDIsImage","DisplayImage","getExtension","DisplayFlash","DisplayBigIcon","_DisplayImage","div","oImg","onload","offsetHeight","h","newW","newH","Math","round","pFrame","frameborder","oSel","OnClick","zIndex","cur_val","oCheck","_new","SortOrderGet","SortOrderSet","r","options","addOption","arExt","sExt","sTitle","oOpt","FD_ALL_FILES","oExt","join","FD_ALL_IMAGES","allowAllFiles","selected","oIfrm","BXLang","onreadystatechange","OnLoad","pFrameDoc","contentDocument","contentWindow","getElementById","pFilename","OnSubmit","fileName","fileExt","_i","FD_INCORRECT_EXT","FD_LOAD_EXIST_CONFIRM","OnAfterUpload","bClose","arHistoryPath","currentPos","ButBackDisable","RemoveLast","splice","ButForwardDisable","CheckButBack","CheckButForward","filename","FD_EMPTY_FILENAME","clearName","submitFuncName","menuObj","add2MenuCheck","checked","menu_add_new","menu_add_name","menu_add_pos","FD_INPUT_NEW_PUNKT_NAME","Close","BXFDIsUserExt","_IsPHP","_ReplaceSpaceByNbsp","str","_Show_tab_OPEN","_Show_tab_LOAD","_Show_tab_SAVE","_Show_tab_MENU","Add2MenuCheckbox","BXMenuHandling","MenuTypeSelect","NewItemOpt","ExsItemOpt","optCheck","_displayRow","bShow","arFDMenuTypes","arTypes","types","items","cur","itms","disabled","list","Option","FD_LAST_POINT","rowId","bDisplay","row","BXWaitWindow","fd","FD_LOADIND","ZIndexManager","register","bringToFront","PopupMenu","dxShadow","oPos","AddItems","right","bottom","arMenuItems","tbl","menu_id","deleteRow","cell","elpar","n","pNode","c","lastChild","BXFDCompareObj","obj1","obj2","BXFDCopyObj","obj","newObj","sName","FD_BYTE"],"mappings":"AAAA,SAASA,gBAETA,aAAaC,WAEZC,KAAM,WAELC,KAAKC,YACJC,OAAS,mDACTC,WAAa,uDACbC,KAAO,iDACPC,MAAQ,kDACRC,IAAM,iDAEPN,KAAKO,eAGNC,YAAc,WAEb,IAAKR,KAAKS,MACTT,KAAKS,MAAQC,GAAG,sBACjBC,cAAcX,KAAKS,OAEnB,IACCG,EAAUC,SAAS,KACnBC,EAAOC,QAAQC,cAAc,SAAUC,UAAW,kBAClDC,EAAMN,EAAQO,OAAQC,EAEvB,IAAKA,EAAI,EAAGA,EAAIF,EAAKE,IACpBpB,KAAKqB,eAAeT,EAAQQ,GAAIN,EAAKQ,WAAW,GAAGC,YAAY,IAEhEvB,KAAKS,MAAMe,YAAYV,IAGxBW,aAAe,SAASC,GAEvB1B,KAAK2B,gBAAgBD,EAAG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